<?php
$dbh = new PDO('mysql:dbname=orb;host=localhost', 'root', '');

$sql = "SELECT UserName,Password,NickName FROM Accounts WHERE UserName='asahi'";
$array=$dbh->query($sql);
print_r($array);
?>